<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="ww" uri="/webwork"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>generator-demo</title>
	</head>
	<body>
		例一:
		<br />
		<ww:generator val="%{'aaa,bbb,ccc,ddd,eee'}" separator=",">
			<!-- 注意这里的separator是必须的，指的是val中字符串的分隔符 -->
			<ww:iterator>
				<ww:property />
				<br />
			</ww:iterator>
		</ww:generator>
		<br />
		例二：
		<br />
		<ww:generator val="%{'aaa,bbb,ccc,ddd,eee'}" count="3" separator=",">
			<ww:iterator>
				<ww:property />
				<br />
			</ww:iterator>
		</ww:generator>
		<br />
	</body>
</html>